xenoprof: Add support for AMD Family 15h processors
authorJacob Shin <jacob.shin@amd.com>
Mon, 9 May 2011 08:53:07 +0000 (09:53 +0100)
committerJacob Shin <jacob.shin@amd.com>
Mon, 9 May 2011 08:53:07 +0000 (09:53 +0100)
commit1b70aaa4f45c0c66f6d7a7dfa29556f26f666fb4
tree58a4ccd0cd141ec3731e2649ce8868221637c75f
parentbd7f6ad521de3573e7e08ecb1e66e96f1de95cca
xenoprof: Add support for AMD Family 15h processors

AMD Family 15h CPU mirrors legacy K7 performance monitor counters to
a new location, and adds 2 new counters. This patch updates xenoprof
to take advantage of the new counters.

Signed-off-by: Jacob Shin <jacob.shin@amd.com>
Rename fam15h -> amd_fam15h in a few places, as suggested by Jan
Beulich.

Signed-off-by: Keir Fraser <keir@xen.org>
xen/arch/x86/oprofile/nmi_int.c
xen/arch/x86/oprofile/op_model_athlon.c
xen/arch/x86/oprofile/op_x86_model.h
xen/include/asm-x86/msr-index.h